package com.myNovel.novel.service;

import com.myNovel.novel.core.common.resp.RestResp;
import com.myNovel.novel.dto.req.UserRegisterReqDto;
import com.myNovel.novel.dto.resp.UserRegisterRespDto;

/**
 * @Author：Guxx
 * @Package：com.myNovel.novel.service
 * @Date：2024/3/30 14:19
 * @Filename：UserService
 */
public interface UserService {
    /**
     * 用户注册
     *
     * @param dto 注册参数
     * @return JWT
     */
    RestResp<UserRegisterRespDto> register(UserRegisterReqDto dto);
}
